package org.JQbitorrentClinet.request.torrentmanagement;

import lombok.Builder;
import org.JQbitorrentClinet.base.BasePostMultiPartParam;

@Builder
public class AddNewTorrentParam extends BasePostMultiPartParam {
    String[] urls;
    String savepath;
    String cookie;
    String[] tags;
    String category;
    Boolean skip_checking;
    Boolean paused;
    Boolean root_folder;
    String rename;
    Integer upLimit;
    Integer dlLimit;
    Float ratioLimit;
    Integer seedingTimeLimit;
    Boolean autoTMM;
    Boolean sequentialDownload;
    Boolean firstLastPiecePrio;

    @Override
    public String getApiUrl() {
        return "/api/v2/torrents/add";
    }
}
